﻿@model ABCTile.Models.Company

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this Company from the system?</h3>
<fieldset>
    <legend>Company:</legend>

    <div class="display-label">Company ID:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ID)
    </div>

    <div class="display-label">Branch Sequence:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Branch_Seq)
    </div>

    <div class="display-label">Contact Role:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Contact_Role)
    </div>

    <div class="display-label">Contact Person ID:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Contact_Person_ID)
    </div>

    <div class="display-label">Company Name:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Company_Name)
    </div>

    <div class="display-label">Office Phone:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Office_Phone)
    </div>

    <div class="display-label">Office Fax:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Office_Fax)
    </div>

    <div class="display-label">Cell Phone:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Cell_Phone)
    </div>

    <div class="display-label">Company Website:</div>
    <div class="display-field">
        @{
			string url = "http://" + Html.DisplayFor(model => model.Company_url);
		}
		<a href=@url>@Html.DisplayFor(model => model.Company_url)</a>
    </div>

    <div class="display-label">Street Address:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Street_Address)  
		<br />@Html.DisplayFor(model => model.City) , @Html.DisplayFor(model => model.State) @Html.DisplayFor(model => model.Zip)
    </div>

    <div class="display-label">Comments:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Comments)
    </div>
</fieldset>
@using (Html.BeginForm())
{
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
